/**
 * 
 */
package com.py.framework.service;

import java.io.IOException;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.py.framework.entity.SysElement;

/**
 * @author dd
 *
 */
public interface SysElementService {

	/**
	 * @param background
	 * @param loginLogo
	 * @param sysLogo
	 * @param loginTitle
	 * @param copyright
	 * @param productName
	 * @throws IOException
	 */
	void addSysElement(CommonsMultipartFile favicon, CommonsMultipartFile background, CommonsMultipartFile loginLogo,
			CommonsMultipartFile sysLogo, CommonsMultipartFile scalingSysLogo, CommonsMultipartFile loginTitle,
			String copyright, String productName, String webUrl) throws IOException;

	/**
	 * @return
	 */
	SysElement getLatestRecord();

}
